package top.infopub.mgr.flow.cnst;

/**
 * 此类枚举所有内置的工作流模板ID，其他类在使用工作流模板ID时，请务必使用该类，严禁硬编码到本地代码中
 * @author Awoke
 * @version 2019年12月13日
 * @see FlowTemplateEnum
 * @since
 */
public enum FlowTemplateEnum {

    /**
     * 采购审核
     */
    FLOW_TEST_BIZ("B9C2734CFBA944BDAF5ECBFB873E53FE", "FLOW_TEST_BIZ"),
    
    /**
     * 投建-设计方案变更
     */
    IC_DESIGN_CHANGE("A1D03FBD22076851E053F40313AC1457", "IC_DESIGN_CHANGE"),
    
    /**
     * 投建-复工审批
     */
    IC_REWORK_EXAM("A20F0F75BD955975E053F40313ACDD91", "IC_REWORK_EXAM"),
    
    /**
     * 投建-停工审批
     */
    IC_STOP_BUILD("A20B4121013138E4E053F40313ACACEF", "IC_STOP_BUILD"),
    
    /**
     * 投建-开工前管理工具审批
     */
    IC_BEFORE_TOOL("A20A78D5D2193267E053F40313AC7632", "IC_BEFORE_TOOL"),
    
    /**
     * 法务-起诉案件申请
     */
    LA_SUE_LAWCASE("A21E44AD50A25332E053F40313AC94BB", "LA_SUE_LAWCASE"),
    
    /**
     * 法务-上诉案件申请
     */
    LA_UPWARD_LAWCASE("A21F5B1CB7F15C11E053F40313AC29AC", "LA_UPWARD_LAWCASE"),
    
    /**
     * 法务-诉讼-仲裁案件信息
     */
    LA_LAWCASE_INFO("A2329BC1B490634AE053F40313AC4E61", "LA_LAWCASE_INFO"),

    /**
     * 投建基本信息
     */
    IC_BUILD_INFO("9BE82AAF873C60DAE053F40313AC4D3A","IC_BUILD_INFO"),

    /**
     * 投建-项目工程计划
     */
    IC_PROGRAM_PLAN("9C389568837476EAE053F40313AC4FBE","IC_PROGRAM_PLAN"),
    
    /**
     * 投建-投建月度管控
     */
    IC_MONTH_CTRL("9C3A4DB2AD0108A5E053F40313ACD136","IC_MONTH_CTRL"),
    
    /**
     * 投建-设计方案审批
     */
    IC_DESIGN_EXAM("A1C09961481B6C91E053F40313AC6023", "IC_DESIGN_EXAM"),
    
    /**
     * 投建-设计创效审批
     */
    IC_EFFECT_EXAM("A1D0A8F84FC96B8DE053F40313ACF2FF", "IC_EFFECT_EXAM"),
    
    /**
     * 投建-开工审批
     */
    IC_START_BUILD("A20C5FAB3A5234ACE053F40313AC713F", "IC_START_BUILD"),
    
    /**
     * 财务-税费申请
     */
    FIA_TAX_APPLY("9C16B423E59F5F3BE053F40313ACA03F","FIA_TAX_APPLY"),
    
    /**
     * 财务-公司年度预算
     */
    FIA_ORG_BUDGET("9C2677D5912160A0E053F40313ACCE76","FIA_ORG_BUDGET"),
    
    /**
     * 财务-项目指标预算
     */
    FIA_PRO_BUDGET("9C269C269C30620DE053F40313AC9AFB","FIA_PRO_BUDGET"),
    
    /**
     * 财务-应收款计划
     */
    FIA_AR_PLAN("9C2677D5913460A0E053F40313ACCE76","FIA_AR_PLAN"),
    
    /**
     * 创效计划
     */
    BPA_EFFECT_PLAN("9C678AFD86CD0A88E053F40313AC2A38","BPA_EFFECT_PLAN"),
    
    /**
     * 创效确认
     */
    BPA_EFFECT_SURE("9ED574F0AD242483E053F40313AC541F","BPA_EFFECT_SURE"),

    /**
     * 商务数据
     */
    BPA_BIZ_DATA("A195D4D1D285060FE053F40313ACAC0A","BPA_BIZ_DATA"),
   
    /**
     * 对外合同-项目合同
     */
    BPA_PRO_CONTRACT("9E5C4DC7E95B512CE053F40313AC9765","BPA_PRO_CONTRACT"),

    /**
     * 对内合同-其他费合同
     */
    BPA_OTHER_COT("9EFD9D7EB1816652E053F40313AC724D","BPA_OTHER_COT"),
    
    /**
     * 确权支付-对外建安产值确权
     */
    BPA_OUTCAE_SURE("9F107A528BF87E2EE053F40313AC01C6","BPA_OUTCAE_SURE"),
    
    /**
     * 确权支付-对内建安产值确权
     */
    BPA_INCAE_SURE("9F135FE476A316D0E053F40313ACCCFC","BPA_INCAE_SURE"),

    /**
     * 确权支付-设备产值确权
     */
    BPA_DEVICE_SURE("9F0EE48DCAD371A8E053F40313AC5BCA","BPA_DEVICE_SURE"),
    
    /**
     * 确权支付-其他费合同确权
     */
    BPA_OTHER_SURE("9F0EE430A3896FAAE053F40313ACA213","BPA_OTHER_SURE"),
    
    /**
     * 确权支付-商务支付申请单
     */
    BPA_BIZCOST_APPLY("9F616A1B007E7AD3E053F40313ACA662","BPA_BIZCOST_APPLY"),
    
    /**
     * 结算管理-项目预(结)算
     */
    BPA_PRO_SETTLE("9F2591FBAA912640E053F40313AC84A8","BPA_PRO_SETTLE"),
    
    /**
     * 结算管理-对内结算
     */
    BPA_INNER_SETTLE("9F4CFEB1AF90599DE053F40313AC5B18","BPA_INNER_SETTLE"),
    
    /**
     * 运营管理-付款申请
     */
    OM_PAYMENT_APPLY("9F868E50ED4D243EE053F40313AC3613","OM_PAYMENT_APPLY"),

    /**
     * 行政管理-接待申请
     */
    ADM_SERVE_RECORD("A191BA2375AF6DBFE053F40313AC9AD7","ADM_SERVE_RECORD"),
    
    /**
     * 行政管理-档案借阅申请
     */
    ADM_BORROW_RECORD("A19604A4C7F512F5E053F40313AC04DA","ADM_BORROW_RECORD"),
    
    /**
     * 行政管理-会议申请
     */
    ADM_MEETING_RECORD("A1978B0714D81FC6E053F40313AC3C12","ADM_MEETING_RECORD"),
    
    /**
     * 法务管理-案件调解执行和解
     */
    LA_PEACE_LAWCASE("A226802ECC3019CAE053F40313AC9C71" , "LA_PEACE_LAWCASE"),
    
    /**
     * 法务管理-执行案件
     */
    LA_CARRY_LAWCASE("A223D4F03F7C032AE053F40313ACBF61" , "LA_CARRY_LAWCASE"),
    
    /**
     * 法务管理-外聘律师
     */
    LA_OUT_LAWYER("A211E340DE377103E053F40313AC2C51" , "LA_OUT_LAWYER"),

    /******************************************** 财务流程开始 ***********************************************************/

    /**
     * 预算管理
     */
    FIA_BUDGET("C50A368D3EAB0FF4E053020011AC9685", "FIA_BUDGET"),

    /**
     * 月度资金计划
     */
    FIA_FUNDS_PLAN("C50A368D3EC30FF4E053020011AC9685", "FIA_FUNDS_PLAN"),

    /**
     * 预算审批
     */
//    FIA_BUDGET("", "FIA_BUDGET"),

    /**
     * 收款登记
     */
    FIA_INCOME_BILL("C50A368D3EAF0FF4E053020011AC9685", "FIA_INCOME_BILL"),

    /**
     * 资金支付
     */
    FIA_PAY_BILL("C50A368D3EB30FF4E053020011AC9685", "FIA_PAY_BILL"),

    /**
     * 资金上交
     */
    FIA_FUNDS_HAND("C50A368D3EBF0FF4E053020011AC9685", "FIA_FUNDS_HAND"),

    /**
     * 资金拨付
     */
    FIA_FUNDS_APPN("C50A368D3EC70FF4E053020011AC9685", "FIA_FUNDS_APPN"),

    /**
     * 发票管理
     */
    FIA_INVOICE_MANAGE("C50A368D3ECB0FF4E053020011AC9685", "FIA_INVOICE_MANAGE"),

    /******************************************** 财务流程结束 ***********************************************************/

    /******************************************** 商务流程开始 ***********************************************************/

    /**
     * 对外合同-合同谈判
     */
    BPA_CONTRACT_NEG("C5196243177F3188E053020011ACDA80", "BPA_CONTRACT_NEG"),

    /**
     * 对外合同-合同评审
     */
    BPA_CONTRACT_BPAREVIEW("C519624317833188E053020011ACDA80", "BPA_CONTRACT_BPAREVIEW"),

    /**
     * 对外合同-承继协议
     */
    BPA_CONTRACT_EXT("9E7040A482606F76E053F40313AC8B73","BPA_CONTRACT_EXT"),

    /**
     * 对外合同-承继协议-补充协议
     */
    BPA_CONTRACT_EXT_SUP("C519624317903188E053020011ACDA80", "BPA_CONTRACT_EXT_SUP"),

    /**
     * 对外合同-总包备案合同
     */
    BPA_COT_BACKUP("A0F581B3F4A10815E053F40313AC9CAC","BPA_COT_BACKUP"),

    /**
     * 对外合同清单
     */
    BPA_CONTRACT_ENTRY("C5196243179A3188E053020011ACDA80", "BPA_CONTRACT_ENTRY"),

    /**
     * 内部协议评审
     */
    BPA_INNER_AGRT("9E8570A08E3725DBE053F40313ACFC01","BPA_INNER_AGRT"),

    /**
     * 内部协议-补充协议
     */
    BPA_INNER_SUPPLE("C519624317A73188E053020011ACDA80", "BPA_INNER_SUPPLE"),

    /**
     * 分包合同评审
     */
    BPA_SUBPACK_COT("9ED176CBBA4E041FE053F40313ACFBCE","BPA_SUBPACK_COT"),

    /**
     * 分包补充协议
     */
    BPA_SUBPACK_SUPPLE("C519624317B43188E053020011ACDA80", "BPA_SUBPACK_SUPPLE"),

    /**
     * 分包合同清单
     */
    BPA_SUBPACK_ENTRY("C519624317B83188E053020011ACDA80", "BPA_SUBPACK_ENTRY"),

    /**
     * 设备合同评审
     */
    BPA_DEVICE_COT("9EE8CBEC646B3FBEE053F40313ACBAE6","BPA_DEVICE_COT"),

    /**
     * 设备补充协议
     */
    BPA_DEVICE_SUPPLE("C519624317C53188E053020011ACDA80", "BPA_DEVICE_SUPPLE"),

    /**
     * 设备合同清单
     */
    BPA_DEVICE_ENTRY("C519624317C93188E053020011ACDA80", "BPA_DEVICE_ENTRY"),

    /**
     * 其他合同评审
     */
    BPA_OTHER_CONTRACTS_REVIEW("C519624317CD3188E053020011ACDA80", "BPA_OTHER_CONTRACTS_REVIEW"),

    /**
     * 其他补充协议
     */
    BPA_OTHER_CONTRACTS_REPLENISH("C519624317D13188E053020011ACDA80", "BPA_OTHER_CONTRACTS_REPLENISH"),

    /**
     * 其他合同清单
     */
    BPA_OTHER_CONTRACTS_INVENTORY("C519624317D53188E053020011ACDA80", "BPA_OTHER_CONTRACTS_INVENTORY"),

    /**
     * 对外确权
     */
    BPA_PRIMARY_SURE_OUT("C519624317D93188E053020011ACDA80", "BPA_PRIMARY_SURE"),

    /**
     * 对内确权
     */
    BPA_PRIMARY_SURE_INNER("C519624317DD3188E053020011ACDA80", "BPA_PRIMARY_SURE"),

    /**
     * 分包确权
     */
    BPA_PRIMARY_SURE_SUBPKG("C519624317E13188E053020011ACDA80", "BPA_PRIMARY_SURE"),

    /**
     * 设备确权
     */
    BPA_PRIMARY_SURE_DEVI("C519624317E53188E053020011ACDA80", "BPA_PRIMARY_SURE"),

    /**
     * 其他确权
     */
    BPA_PRIMARY_SURE_OTHER("C519624317E93188E053020011ACDA80", "BPA_PRIMARY_SURE"),

    /**
     * 项目预结算
     */
    BPA_PROJECT_BUDGET("C519624317ED3188E053020011ACDA80", "BPA_PROJECT_BUDGET"),

    /**
     * 对内结算
     */
//    BPA_PROJECT_BUDGET("", "BPA_PROJECT_BUDGET"),

    /**
     * 商务策划
     */
    BPA_BIZ_PLAN("A0F580C8740B081DE053F40313AC3AF0","BPA_BIZ_PLAN"),

    /**
     * 结算策划
     */
    BPA_SETTLE_PLAN("C519624317FA3188E053020011ACDA80","BPA_SETTLE_PLAN"),

    /**
     * 概算分批
     */
    BPA_BUDGET_BATCH("A105D4A221FB0CBBE053F40313AC69F7", "BPA_BUDGET_BATCH"),

    /**
     * 小微评审
     */
    BPA_MICRO_EXAM("A1043A4E4F8C7CABE053F40313ACA980","BPA_MICRO_EXAM"),

    /**
     * 小微激励兑现
     */
//    BPA_SETTLE_PLAN("","BPA_SETTLE_PLAN"),

    /**
     * 商务成本支付
     */
    BPA_BUSINESS_PAYMENT("C519624317FE3188E053020011ACDA80","BPA_BUSINESS_PAYMENT"),

    /**
     * 扣款记录
     */
//    BPA_DEDUCTION_RECORD("","BPA_DEDUCTION_RECORD"),

    /**
     * 年度创效计划
     */
    BPA_YEAR_EFFECT_PLAN("C519624318143188E053020011ACDA80","BPA_YEAR_EFFECT_PLAN"),

    /**
     * 月度创效计划
     */
    BPA_MONTH_EFFECT_PLAN("C519624318183188E053020011ACDA80","BPA_MONTH_EFFECT_PLAN"),

    /**
     * 周创效确认
     */
    BPA_WEEK_EFFECT_PLAN("C5196243181C3188E053020011ACDA80","BPA_WEEK_EFFECT_PLAN"),

    /**
     * 创效激励兑现
     */
//    BPA_EFFECT_PLAN_CHARGED("","BPA_EFFECT_PLAN_CHARGED"),

    /******************************************** 商务流程结束 ***********************************************************/

    /******************************************** 融资流程开始 ***********************************************************/

    /**
     * 融资授信
     */
    CAP_CREDIT_BALANCE("C364908DF9B95054E053020011AC5E2F", "CAP_CREDIT_BALANCE"),

    /**
     * 融资初调
     */
    CAP_LOOK_INFO_BEGIN("C364908DF9BD5054E053020011AC5E2F", "CAP_LOOK_INFO_BEGIN"),

    /**
     * 融资尽调
     */
    CAP_LOOK_INFO("9BC911463C6C61F8E053F40313ACB8EE","CAP_LOOK_INFO"),

    /**
     * 融资立项
     */
    CAP_SETUP_FIN("9BD83C88F5935D39E053F40313AC2A29","CAP_SETUP_FIN"),

    /**
     * 融资资料报审
     */
    CAP_SUBMIT_APPROVAL("C364B8275C025391E053020011AC1294", "CAP_SUBMIT_APPROVAL"),

    /**
     * 融资跟踪
     */
    CAP_FINANCING_TRACKING("C364908DF9D45054E053020011AC5E2F", "CAP_FINANCING_TRACKING"),

    /**
     * 融资批复
     */
    CAP_FUNDING_APPROVAL("C364908DF9DF5054E053020011AC5E2F", "CAP_FUNDING_APPROVAL"),

    /**
     * 金融机构选择
     */
    CAP_FINANCIAL_INSTITUTIONS("C364908DF9EB5054E053020011AC5E2F", "CAP_FINANCIAL_INSTITUTIONS"),

    /**
     * 融资-借款合同
     */
    CAP_LOAN_CONTRACT("C364908DF9F85054E053020011AC5E2F", "CAP_LOAN_CONTRACT"),

    /**
     * 融资-保证合同
     */
    CAP_CONTRACT_GUARANTY("C364908DFA035054E053020011AC5E2F", "CAP_CONTRACT_GUARANTY"),

    /**
     * 融资-质押合同
     */
    CAP_CONTRACT_PLEDGE("C364908DFA0E5054E053020011AC5E2F", "CAP_CONTRACT_PLEDGE"),

    /**
     * 融资-抵押合同
     */
    CAP_CONTRACT_MORTGAGE("C364EB474B845741E053020011AC11C5", "CAP_CONTRACT_MORTGAGE"),

    /**
     * 融资-合同评审
     */
    CAP_CONTRACT_REVIEW("C364EB474B8F5741E053020011AC11C5", "CAP_CONTRACT_REVIEW"),

    /**
     * 融资-还款计划
     */
    CAP_REPAYMENT_SCHEDULE("C364EB474B9C5741E053020011AC11C5", "CAP_REPAYMENT_SCHEDULE"),

    /**
     * 融资-融资方案
     */
    CAP_FINANCING_PLAN("C364908DFA1B5054E053020011AC5E2F", "CAP_FINANCING_PLAN"),

    /**
     * 融资-融资放款
     */
    CAP_LOAN_FIN("9C15628D35F45433E053F40313AC66B9","CAP_LOAN_FIN"),

    /**
     * 融资-融资还款
     */
    CAP_FINANCE_REIMBURSEMENT("C364908DFA2F5054E053020011AC5E2F", "CAP_FINANCE_REIMBURSEMENT"),

    /**
     * 融资-融资付息
     */
    CAP_PAY_INTEREST("C364908DFA3A5054E053020011AC5E2F", "CAP_PAY_INTEREST"),

    /**
     * 融资-融资付费申请-小于1亿
     */
    CAP_PAYFEE_APPLY("9C2EAEFA071A291FE053F40313AC36AF","CAP_PAYFEE_APPLY"),


    /**
     * 融资合同
     */
    CAP_CONTRACT_INFO("9C01CF95D155343BE053F40313AC4E25","CAP_CONTRACT_INFO"),

    /**
     * 审批通过
     */
    CAP_PASS_FIN("9BE8E5D72CA06736E053F40313ACB29B","CAP_PASS_FIN"),

    /**
     * 融资-还本付息
     */
    CAP_RPI_APPLY("9C4E6D952EDA3189E053F40313ACABA4","CAP_RPI_APPLY"),
    /******************************************** 融资流程结束 ***********************************************************/

    /******************************************** 市场流程开始 ***********************************************************/
    /**
     * 市场立项
     */
    MKT_SETUP_PRO("9B9E640D05E0761DE053F40313ACC047", "MKT_SETUP_PRO"),

    /**
     * 市场资格预审
     */
    MKT_INQUIRY_PRO("9BB5BEF9D8E63B31E053F40313ACE650", "MKT_INQUIRY_PRO"),

    /**
     * 市场投标决策
     */
    MKT_DECI_PRO("9BC18A378C1E1C94E053F40313AC0B03", "MKT_BID_DECISION"),

    /**
     * 市场立项策划
     */
    MKT_PRO_PLOT("8BD72BB7E3044093BF3059D428FE35DE", "MKT_PRO_PLOT"),

    /**
     * 市场营销策划
     */
    MKT_PRO_SELL("9BD89B965576605EE053F40313ACF419", "MKT_PRO_SELL"),

    /**
     * 市场投标保证金申请
     */
    MKT_BID_BOND_APPLY("9C0FDE9234572323E053F40313ACC6F1", "MKT_BID_BOND_APPLY"),

    /**
     * 市场业务承接单
     */
    MKT_PRO_ACCEPT("9BFFDA5144A723BDE053F40313AC25C5", "MKT_PRO_ACCEPT"),

    /**
     * 市场交底
     */
    MKT_DISCLOSE_PRO("9BC8C02543A95F19E053F40313ACC486", "MKT_DISCLOSE_PRO"),

    /**
     * 市场事项-标后总结
     */
    MKT_AFTER_SUMMARY("A1A8E3B2A9B82A81E053F40313ACFD6F","MKT_AFTER_SUMMARY"),

    /**
     * 市场-项目追踪
     */
    MKT_PRO_TRACK("9C6620678DD97C0DE053F40313ACA491" , "MKT_PRO_TRACK"),

    /**
     * 市场预立项
     */
    MKT_PRE_PROJECT("9AFB0F07B78358ADE053F40313AC5C5B", "MKT_PRE_PROJECT"),

    /**
     * 市场-营销奖励申请
     */
    MKT_SALE_REWARD("A1BCB6ECB74A4AD4E053F40313ACF351", "MKT_SALE_REWARD"),

    /**
     * 市场-投标补贴申请
     */
    MKT_BID_SUBSIDY("A1BBF532E11843A7E053F40313ACBD54", "MKT_BID_SUBSIDY"),

    /**
     * 市场-项目跟踪流程-每次编辑信息必须走该流程
     */
    MKT_COLLECT_PROJECT("C0F13F53652E2B56E053020011ACA0D7", "MKT_COLLECT_PROJECT"),

    /**
     * 市场-终止项目跟踪
     */
    MKT_COLL_PROJECT_END("C0EBF2C4DAAA40A7E053020011AC2B0E", "MKT_PRO_TRACK"),

    /**
     * 市场-招标文件分析
     */
    MKT_BID_ANALYSIS("C1FB294368AC5EA3E053020011AC9CEF", "MKT_BID_ANALYSIS"),

    /**
     * 市场-标书策划
     */
    MKT_BID_PLAN("C1FB294368BA5EA3E053020011AC9CEF", "MKT_BID_PLAN"),

    /**
     * 市场-标书评审-商务标
     */
    MKT_BID_REVIEW_SW("C1FB62156FD262E7E053020011AC8112", "MKT_BID_REVIEW"),

    /**
     * 市场-标书评审-资信标
     */
    MKT_BID_REVIEW_ZX("C1FB62156FDD62E7E053020011AC8112", "MKT_BID_REVIEW"),

    /**
     * 市场-标书评审-技术标
     */
    MKT_BID_REVIEW_JS("C1FB62156FE162E7E053020011AC8112", "MKT_BID_REVIEW"),

    /**
     * 市场-开标结果
     */
    MKT_BID_OPEN_RESULT("C1FB62156FF462E7E053020011AC8112", "MKT_BID_OPEN_RESULT"),

    /**
     *市场-保证金回收-其他方式
     */
    MKT_BID_BOND_RECYCLE_QT("C204D2560C351727E053020011AC38D3", "MKT_BID_BOND_RECYCLE"),

    /**
     * 市场-保证金回收-现金方式
     */
    MKT_BID_BOND_RECYCLE_XJ("C204D2560C391727E053020011AC38D3", "MKT_BID_BOND_RECYCLE"),

    /**
     * 市场-保证金回收-财务信息审批流程
     */
    MKT_BID_BOND_RECYCLE_CW("C291EA1487E705EDE053020011AC879A", "MKT_BID_BOND_RECYCLE"),

    /**
     * 市场-资格预审-未通过资审流程
     */
    MKT_INQUIRY_PRO_NO("C29726EB5F037157E053020011AC7DAE", "MKT_INQUIRY_PRO"),

    /**
     * 市场投标决策-未通过决策
     */
    MKT_DECI_PRO_NO("C2AA70D6519678E5E053020011AC6DC7", "MKT_BID_DECISION")
    /*********************************************** 市场流程结束 ********************************************************/
    ;


    /** 模板ID **/
    private String templateId;

    /** 关联业务表名 **/
    private String srcBizTable;

    FlowTemplateEnum(String templateId, String srcBizTable) {
        this.templateId = templateId;
        this.srcBizTable = srcBizTable;
    }

    /**
     * 获得模板ID
     * @return 
     * @see
     */
    public String getTemplateId() {
        return templateId;
    }

    /**
     * 获得关联业务表名
     * @return 
     * @see
     */
    public String getSrcBizTable() {
        return srcBizTable;
    }

}
